package cn.jsj.hzu.qm.facecloud.ciuser.service.impl;

import java.util.List;

import cn.jsj.hzu.qm.facecloud.ciuser.dao.CilabrecordDao;
import cn.jsj.hzu.qm.facecloud.ciuser.pojo.Cilabrecord;
import cn.jsj.hzu.qm.facecloud.ciuser.service.CilabrecordService;

public class CilabrecordServiceImpl implements CilabrecordService {

	private CilabrecordDao cilabrecordDao = null;
	public CilabrecordDao getCilabrecordDao() {
		return cilabrecordDao;
	}
	
	public void setCilabrecordDao(CilabrecordDao cilabrecordDao) {
		this.cilabrecordDao = cilabrecordDao;
	}
	
	
	
	@Override
	public int addCilabrecord(Cilabrecord cilabrecord) {
		return cilabrecordDao.addCilabrecord(cilabrecord);
	}

	@Override
	public int getCilabrecordsCount() {
		return cilabrecordDao.getCilabrecordsCount();
	}

	@Override
	public List<Cilabrecord> getCilabrecordsByLimit(int start, int length) {
		return cilabrecordDao.getCilabrecordsByLimit(start, length);
	}

	@Override
	public List<Cilabrecord> getCilabrecordsByPage(int page, int perpage) {
		return cilabrecordDao.getCilabrecordsByPage(page, perpage);
	}

}
